package cn.smartadmin.bootstrap;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动应用程序
 *
 * @author tqfeiyang
 * @since 2024/8/19 14:03
 */
@SpringBootApplication
@ComponentScan(basePackages = "cn.smartadmin")
@MapperScan(basePackages = "cn.smartadmin", annotationClass = Mapper.class)
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
